package com.langfeiyes.pattern.prototype;

public class App1 {
    public static void main(String[] args) throws CloneNotSupportedException {
        SMS sms = new SMS();
        sms.setContent("春节快乐");
        for (int i = 10; i < 20; i++){
            SMS clone = (SMS) sms.clone();
            clone.setUsename("dafei_" + i);
            clone.setPhone("137000000" + i);
            SMSUtil.sendSms(clone);
        }





    }
}
